﻿@{
    ViewBag.Title = "List";
}

<!-- BEGIN middle part -->
<section id="content">
<div class="href_path_link"><h6>当前位置: <a href="@Url.Action("Index","Home")">首页</a>>守望者项目</h6></div>
<div class="href_path_about"><h2>项目列表</h2><img class="" src="@Url.Content("~/Content/images/end-logo.png")" alt="end-logo" /></div>

<!-- BEGIN blog left -->
<div class="blog_left">

@foreach (var item in (IEnumerable<WmWebSystem.Models.Project>)ViewData["models"])
{
<div class="blog_left_content">
<div class="blog_content_info">
	<div class="blog_content_date">@item.TargetValue<br /><span>Target</span></div>
	<a href="#" class="comment_number">@item.CurrentValue</a>
	<div class="blog_content_author"><span>发起人</span><br />@item.Author</div>
	<div class="blog_content_category"><span>时间</span><br />@item.AddTime.ToString("yyyy-mm-dd")</div>
	
</div>
<div class="blog_content_inner">
	<div class="blog_content_image theme-default">
		<div class="blog_content_slider nivo_slider">
			<img src="@Url.Content(item.Logo)" alt="" />
		</div>
	</div>
<h3>@item.ProjectName</h3>
    <p>@(new MvcHtmlString(item.Content))</p>
<a class="con_button con_button2" href="@Url.Action("Details", "Project", new { id=item.ProjectId})"><span class="con_button_text">READ MORE</span><span class="con_button_arrow"><span>READ MORE</span></span></a>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
}

</div>
<!-- /END blog left -->


<!-- BEGIN blog right -->
<div class="blog_right">
    
<div class="widget widget-tabs-wrapper tabs">
           
	<ul class="widgetTabs tabs-nav">
		<li class="popular"><a href="@Url.Action("Register","Account")">Join us</a></li>
		<li class="latest"><a href="@Url.Action("Create","Project")">My Good idea</a></li>
	</ul>
            
	<div class="clear"></div>
            
	<div class="widget-tabs-inside tabs-container">
                        
		<ul id="tab-pop" class="widget_recent_posts tab-content"> 
            @foreach (var item in (IEnumerable<WmWebSystem.Models.ChildProject>)ViewData["CItems"])
            {         
             <li class="tumbnail_post">
				<a class="post_name" href="@Url.Action("ToDetails", "Project", new { no = item.ProjectNo })">@item.ChildName</a>
				<div class="clear"></div>
                <audio controls="controls" >
                   <source src="@Url.Content(item.UrlPath)" /> 
                </audio>
                <br />
				<p> @item.Content</p>
				<br />
                <span>@item.AddTime.ToString("yyyy-mm-dd")</span>
				<div class="clear"></div>
			</li>  
            } 
		</ul>
                    
	</div><!-- /.boxes -->
			
</div><!-- /widgetTabs -->







					
<div class="clear"></div>
</div><!-- /END blog right -->

<div class="clear_both"></div>
<!-- /END blog container -->
   
</section>
<!-- /END middle part -->
<div class="clear"></div>
